package com.alibaba.travel.thirdpart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 用户点赞记录表
 *
 * @author wherezy
 * @email wherezy@tom.com
 * @date 2023-03-06 14:49:51
 */
@Data
@ApiModel(value = "UserLikesRecordEntity", description = "用户点赞记录表")
@TableName("user_likes_record")
public class UserLikesRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ApiModelProperty(value = "", name = "id")
    @TableId(type = IdType.ASSIGN_UUID)
    private Long id;
    /**
     *
     */
    @ApiModelProperty(value = "", name = "userId")
    private Long userId;
    /**
     *
     */
    @ApiModelProperty(value = "", name = "topicId")
    private Long topicId;
    /**
     * 点赞类型：景点1/文章2/评论3
     */
    @ApiModelProperty(value = "点赞类型：景点1/文章2/评论3", name = "topicType")
    private String topicType;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

}
